/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.uoc.tdp.pac4.beans;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author pguerreroj
 * CREATE TABLE Client (
    nom character(15) NOT NULL,
    cognoms character(35) NOT NULL,
    adresa character(50) NOT NULL,
    nif character(9) NOT NULL,
    poblacio character(40) NOT NULL,
    codiPostal integer,
    numClient integer NOT NULL,
    dataAlta date NOT NULL
    );
 */
public class Client implements Serializable{
    
    private static final long serialVersionUID = 1L;
    private String nom;
    private String cognoms;
    private String adresa;
    private String nif;
    private String poblacio;
    private int codiPostal;
    private int numCliente;
    private Date dataAlta;
    private String num_chasis;
    private int idVehicle;
    
    public Client() {
    }

    public Client(String nom, String cognoms, String adresa, String nif, String poblacio, int codiPostal, int numCliente, Date dataAlta, String num_chasis, int idVehicle) {
        this.nom = nom;
        this.cognoms = cognoms;
        this.adresa = adresa;
        this.nif = nif;
        this.poblacio = poblacio;
        this.codiPostal = codiPostal;
        this.numCliente = numCliente;
        this.dataAlta = dataAlta;
        this.num_chasis = num_chasis;
        this.idVehicle = idVehicle;
    }

    public String getNom() {
        return nom;
    }

    public String getCognoms() {
        return cognoms;
    }

    public String getAdresa() {
        return adresa;
    }

    public String getNif() {
        return nif;
    }

    public String getPoblacio() {
        return poblacio;
    }

    public int getCodiPostal() {
        return codiPostal;
    }

    public int getNumCliente() {
        return numCliente;
    }

    public Date getDataAlta() {
        return dataAlta;
    }
    
    public String getNum_chasis() {
        return num_chasis;
    }
    
    public int getIdVehicle() {
        return idVehicle;
    }
        
    public void setNom(String nom) {
        this.nom = nom;
    }

    public void setCognoms(String cognoms) {
        this.cognoms = cognoms;
    }

    public void setAdresa(String adresa) {
        this.adresa = adresa;
    }

    public void setNif(String nif) {
        this.nif = nif;
    }

    public void setPoblacio(String poblacio) {
        this.poblacio = poblacio;
    }

    public void setCodiPostal(int codiPostal) {
        this.codiPostal = codiPostal;
    }

    public void setNumCliente(int numCliente) {
        this.numCliente = numCliente;
    }

    public void setDataAlta(Date dataAlta) {
        this.dataAlta = dataAlta;
    }
    
    public void setNum_chasis(String num_chasis) {
        this.num_chasis = num_chasis;
    }
    
    public void setIdVehicle(int idVehicle) {
        this.idVehicle = idVehicle;
    }
}
